﻿<ad:DockableContent
             x:Class="WPFToolboxForSiemensPLCs.DockableWindows.DockableContentOnlineConnections"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock" xmlns:Projectfiles="clr-namespace:DotNetSiemensPLCToolBoxLibrary.Projectfiles;assembly=DotNetSiemensPLCToolBoxLibrary" mc:Ignorable="d" d:DesignHeight="339" d:DesignWidth="482">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="20"></RowDefinition>
        </Grid.RowDefinitions>
        <ListBox Grid.Row="0" VerticalAlignment="Stretch" Name="myConnectionsList" ItemsSource="{Binding Connections}" MouseDoubleClick="myConnectionsList_MouseDoubleClick" PreviewMouseDown="myConnectionsList_PreviewMouseDown" PreviewMouseMove="myConnectionsList_PreviewMouseMove" GiveFeedback="myConnectionsList_GiveFeedback" ToolTip="Drag-Drop the Connection you want to use on the S7ProgrammFolder you wish to use!">
    </ListBox>
        <Button Grid.Row="1" DockPanel.Dock="Bottom" Height="20" Click="Button_Click">Config Connections</Button>
    </Grid> 

</ad:DockableContent>
